﻿using System;
using Linker.TaskCenter.Services.Dto;
using Volo.Abp.Application.Dtos;

namespace Linker.TaskCenter.Tasks.Dto
{
    [Serializable]
    public class TaskDto : CreationAuditedEntityDto<Guid>
    {
        public Guid ServiceId { get; set; }

        public virtual ServiceDto Service { get; set; }

        public object Request { get; set; }

        public object Response { get; set; }

        public TaskResponseResultEnum ResponseResult { get; set; }

        public string Error { get; set; }

        public TaskStatusEnum Status { get; set; }

        public string Name { get; set; }

        public string Remark { get; set; }

        public string Creator { get; set; }
    }
}